package com.intellagric.mapper;

import com.intellagric.pojo.TracePerson;
import com.intellagric.pojo.TracePersonExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TracePersonMapper {
    long countByExample(TracePersonExample example);

    int deleteByExample(TracePersonExample example);

    int deleteByPrimaryKey(String id);

    int insert(TracePerson record);

    int insertSelective(TracePerson record);

    List<TracePerson> selectByExample(TracePersonExample example);

    TracePerson selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TracePerson record, @Param("example") TracePersonExample example);

    int updateByExample(@Param("record") TracePerson record, @Param("example") TracePersonExample example);

    int updateByPrimaryKeySelective(TracePerson record);

    int updateByPrimaryKey(TracePerson record);
}